package com.hnichr.ump.common.doc.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hnichr.ump.common.entity.UmpEntity;
import com.mxpioframework.jpa.annotation.Generator;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name = "t_doc_order_log")
@Schema(description = "文印商城订单动态表")
public class OrderLog extends UmpEntity {
	private static final long serialVersionUID = 1103765541065900838L;

	@Id
	@Generator
	@Column(name = "RID", updatable = false)
	@Schema(description = "ID")
	private String id;

	@Column(name = "ORDER_ID")
	@Schema(description = "订单ID")
	private String orderId;

	@Column(name = "CONTENTS")
	@Schema(description = "动态内容")
	private String content;

	@Column(name = "APP_SHOW")
	@Schema(description = "显示在小程序端")
	private String appShow;

	@Column(name = "fileNo")
	@Schema(description = "关联附件")
	private String fileNo;
}
